/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package view;

/**
*
* @author Lenovo
*/
public class LoginServer {

   public static boolean login(String name,String password){
       final String userName = "teacher";
	final String userPassword = "teacher";
       if(name==null||password==null||password.equals(""))
           return false;
      if( name.equals(userName)&&password.equals(userPassword))
      {
          return true;
      }
      return false;
   }
}
